package controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import dao.GetSellerDashboardDAO;
import databean.SellerBean;

public class GetSellerDashboardAction extends Action{

	@Override
	public String perform(HttpServletRequest request,
			HttpServletResponse response) {
		
		SellerBean bean = GetSellerDashboardDAO.getSellerDashboard();
		
		request.setAttribute("status", bean.getStatus());
		request.setAttribute("percent", bean.getPercent());
		request.setAttribute("level", bean.getLevel());
						
		return "getSellerDashboard.view";
		
	}

}
